import http from '@/utils/request'

/**
* 查询列表
* @returns
*/
export async function getNoticeList(params) {
    return await http.get('/api/notice/list',params)
  }
  /**
   * 发布公告请求
   * @returns 
   */
  export async function AddNoticeList(params) {
    return await http.post('/api/notice/add',params)
  }
  /**
 * 修改
 * @returns 
 */
export async function updateNotice(params) {
  return await http.put('/api/notice/update',params)
}
/**
 * 删除
 * @returns 
 */
export async function deleteNotice(params) {
  return await http.delete('/api/notice/delete',params)
}